package com.synergy.stockflow.procure.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "return_details")
public class ReturnDetails {
    /**
     * 退货详情编码
     */
    @TableId(value = "return_details_id", type = IdType.ASSIGN_ID)
    @Schema(description="退货详情编码")
    private String returnDetailsId;

    /**
     * 入库详情编码
     */
    @TableField(value = "return_details_inbound_details_id")
    @Schema(description="采购详情编码")
    private String returnDetailsInboundDetailsId;

    /**
     * 退货数量
     */
    @TableField(value = "return_details_number_of_returns")
    @Schema(description="退货数量")
    private BigDecimal returnDetailsNumberOfReturns;

    /**
     * 退货数量（未入库）
     */
    @TableField(value = "return_details_no_number_of_returns")
    @Schema(description="退货数量（未入库）")
    private BigDecimal returnDetailsNoNumberOfReturns;

    /**
     * 供应商价格编码
     */
    @TableField(value = "return_details_supplier_prices_id")
    @Schema(description="供应商价格编码")
    private String returnDetailsSupplierPricesId;



    /**
     * 采购退货编码
     */
    @TableField(value = "return_details_purchase_returns_id")
    @Schema(description="采购退货编码")
    private String returnDetailsPurchaseReturnsId;
}